offset = 0
for i in range(10):
    offset = offset + 1
    print("执行了{}次".format(offset))
    if offset == 3:
        break